package com.jike.shop.cloud.model.goods;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jike.shop.cloud.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("goods_sku_op_history")
@ApiModel(value="goods_sku_op_history对象", description="商品sku操作记录表")
public class GoodsSkuOpHistory extends BaseModel {

    @ApiModelProperty(value = "商品id")
    private Long goodsId;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "库存数")
    private Integer stockNum;

    @ApiModelProperty(value = "日志操作类型")
    private Integer type;
}
